package com.xscr.forum.service;

import java.util.List;

import com.xscr.forum.po.ForumCircle;
import com.xscr.mybatis.utility.PageBean;

public interface ForumCircleService {
	/**
	 *	添加圈子信息
	 */
	public int saveForumCircle(ForumCircle forumCircle) throws Exception;
	
	/**
	 *	添加多个圈子信息
	 */
	public int saveListForumCircles(List<ForumCircle> forumCircles) throws Exception;
	
	/**
	 *	删除圈子信息
	 */
	public int deleteForumCircleById(Integer id) throws Exception;
	
	
	/**
	 *	修改圈子信息
	 */
	public int updateForumCircle(ForumCircle forumCircle) throws Exception;
	
	
	/**
	 *	根据圈子id获取 对应的圈子信息
	 */
	public ForumCircle findForumCircleById(Integer id) throws Exception;
	
	/**
	 * 根据圈子获取 对应的圈子信息 分页
	 * @param pageBean
	 * @return
	 * @throws Exception
	 */
	public PageBean<ForumCircle> findForumCircleByConditions(PageBean<ForumCircle> pageBean) throws Exception;
	
	/**
	 *	根据条件信息获取对应的圈子信息  返回list
	 */
	public List<ForumCircle> findForumCircleByConditions(ForumCircle forumCircle) throws Exception;
}
